import { createStore } from 'vuex';
import cart from './cart'; // 购物车模块
import user from './user.js'; // 用户模块
const store = createStore({
  modules: {
    cart,
    user
  }
});
export default store;